<template>
  <div id="APP">
    <router-view></router-view>
  </div>
</template>

<script>
import {mapActions} from 'vuex'
export default {
  name: 'App',
  components: {
  },
  mounted() {
    // 获取地址数据
    this.$store.dispatch('get_address');
    // 获取食品列表
    this.$store.dispatch('get_food_list');
    // 获取商家列表
    this.$store.dispatch('get_shops_list');

    this.$store.dispatch('get_goods_list');

    this.$store.dispatch('get_gooderInfo');

    this.$store.dispatch('get_ratingsList');
  },
}
</script>

<style lang="stylus">
  a
    text-decoration none !important
  body
    margin 0px
    background-color #f5f5f5
</style>
